package com.zzyl.nursing.service;

import java.util.List;

import com.aliyun.iot20180120.models.QueryDevicePropertyStatusRequest;
import com.zzyl.common.core.domain.R;
import com.zzyl.common.core.page.TableDataInfo;
import com.zzyl.nursing.domain.DeviceData;
import com.zzyl.nursing.domain.FamilyMemberElder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.nursing.dto.FamilyMemberDto;
import com.zzyl.nursing.dto.QueryDeviceDataDto;
import com.zzyl.nursing.job.Content;
import com.zzyl.nursing.vo.FamilyMemberVo;
import com.zzyl.nursing.vo.ListByPageVo;
import com.zzyl.nursing.vo.QueryDeviceDataVo;

/**
 * 客户老人家属中间Service接口
 * 
 * @author ruoyi
 * @date 2025-01-10
 */
public interface IFamilyMemberElderService extends IService<FamilyMemberElder>
{
    /**
     * 获取客户老人家属中间详细信息
     * @return 获取客户老人家属中间详细信息
     */
    List<FamilyMemberVo> getFamilyMemberElder();

    /**
     * 查询客户老人家属中间列表
     * 
     * @param familyMemberElder 客户老人家属中间
     * @return 客户老人家属中间集合
     */
    public List<FamilyMemberElder> selectFamilyMemberElderList(FamilyMemberElder familyMemberElder);

    /**
     * 绑定家人
     * 
     * @param familyMemberDto 绑定家人
     * @return 结果
     */
    public int insertFamilyMemberElder(FamilyMemberDto familyMemberDto);


    /**
     * 分页查询已绑定家人列表
     * @return
     */
    List<ListByPageVo> selectPage(Integer pageNum, Integer pageSize);



    /**
     * 删除客户老人家属中间信息
     * 
     * @param id 客户老人家属中间主键
     * @return 结果
     */
    public int deleteFamilyMemberElderById(Long id);

    Object getDeviceDataByDeviceNameAndProductKey(QueryDevicePropertyStatusRequest request);

    List<QueryDeviceDataVo> queryDeviceDataListByDay(QueryDeviceDataDto dto);

    List<QueryDeviceDataVo> queryDeviceDataListByWeek(QueryDeviceDataDto dto);
}
